package com.xls.dormitoryservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xls.dormitoryservice.entity.Visitor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xls.dormitoryservice.vo.VisitorQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface VisitorService extends IService<Visitor> {

    boolean saveVisitor(Visitor visitor);

    boolean updateVisitor(Visitor visitor);

    Page<Visitor> getVisitorPage(Integer page, Integer limit, VisitorQuery visitorQuery);

}
